package com.qqt.csr.im.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Author: yang hao
 * @Date: 2024/10/16 14:58
 * @Description: 简易账户 dto
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Schema(description = "简易账户 dto")
public class SimpleAccountDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户标识
     */
    @NotBlank(message = "用户标识不能为空")
    @Schema(description="用户标识", requiredMode = Schema.RequiredMode.REQUIRED)
    private String userFlag;

    @Schema(description = "账户名称")
    private String accountName;

    @Schema(description = "账户头像")
    private String headImg;

    @Schema(description = "扩展信息, json格式")
    private String ext;

}
